package com.ruoyi.web.wxConfig;

public interface WxConstant {

    /**
     * 小程序id
     */
    String APP_ID= "wx48db18326b277d33";

    /**
     * 小程序秘钥 secret
     */
     String SECRET = "e5a8762383af7269a9c2468ef58c71aa";

    /**
     * 获取微信token secret
     * @param code
     * GET
     */
    String WX_TOKEN_URL =  "https://api.weixin.qq.com/cgi-bin";

    /**
     * 获取openId
     * GET
     */
    String WX_OPENIF_URL = "https://api.weixin.qq.com/sns/jscode2session";
    /**
     * 访客申请模板ID visitorTemplateId
     */
     String VISITOR_TEMPLATE_ID = "0g0bAV6Tncii1Zulx8eIjw-aLQ2VKI75nHPsbs6dCmg";

    /**
     * 审核通知模板ID examineTemplateId
     */
     String EXAMINE_TEMPLATE_ID = "AKA03keB6PpUlJuBZ506vHwbddPxQTm2fYfxhUUEx9Q";

    /**
     * 获取小程序月访问量Url monthUrl
     */
    String MONTH_URL = "https://api.weixin.qq.com/datacube/getweanalysisappidmonthlyvisittrend?access_token=";

    /**
     * 获取用户访问小程序数据概况
     */

    String  WX_DATA_PROFILE_URL = "https://api.weixin.qq.com/datacube/getweanalysisappiddailysummarytrend?access_token=";

    /**
     * 审核模板发送请求地址
     */

    String  WX_TEMPLATE_EXAMINE_URL = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=";


    /**
     * 预约通知模板请求地址
     */

    String  WX_TEMPLATE_VISITOR_URL = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=";


    /**
     * 微信解密手机号
     * POST
     */

    String WX_PHONE_URL =  "https://api.weixin.qq.com/wxa/business/getuserphonenumber";
}
